package com.jianbing.north.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * 题目选项对象 north_ques_option
 * 
 * @author ruoyi
 * @date 2024-06-20
 */
public class NorthQuesOption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 题干ID */
    @Excel(name = "题干ID")
    private Long stemId;

    /** 选项ID */
    @Excel(name = "选项ID")
    private Long optionId;

    /** 选项内容 */
    @Excel(name = "选项内容")
    private String optionContent;

    /** 插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insertTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStemId(Long stemId) 
    {
        this.stemId = stemId;
    }

    public Long getStemId() 
    {
        return stemId;
    }
    public void setOptionId(Long optionId) 
    {
        this.optionId = optionId;
    }

    public Long getOptionId() 
    {
        return optionId;
    }
    public void setOptionContent(String optionContent) 
    {
        this.optionContent = optionContent;
    }

    public String getOptionContent() 
    {
        return optionContent;
    }
    public void setInsertTime(Date insertTime) 
    {
        this.insertTime = insertTime;
    }

    public Date getInsertTime() 
    {
        return insertTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stemId", getStemId())
            .append("optionId", getOptionId())
            .append("optionContent", getOptionContent())
            .append("insertTime", getInsertTime())
            .toString();
    }
}
